public class ss {
    public static void main(String[] args) {
        float a = (float) 345.67;
        System.out.println((int)a%10);


    }
}
